Skip to content

Separate bus lane connections at junctions - #25

Merged
yumin278 merged 2 commits into
integrationfrom
feature/junction-bus-lane-pass
Nov 16, 2026
Merged

yumin278 merged 2 commits into
integrationfrom
feature/junction-bus-lane-pass

Conversation

@yumin278

@yumin278 yumin278 commented Nov 16, 2026 •

Copy link
Copy Markdown
Owner

Separate automatic junction connections into ordinary and bus-only passes. Classify lanes from road metadata and live map rules, exclude BusBay paths, retain taper behavior, and apply bus/no_cars rules to each bus route segment.

Drawn junctions carry plate path indices into object rules. Custom baked junctions store the indices with preceding piece and plate offsets and restore them when placed.

Validation: cargo test --release --locked — 715 passed, 0 failed, 7 ignored. Tests cover outer and central bus-lane turns and kerb leads; independent bus and ordinary routing; rule indices in both drawn-junction placement flows; and complete SCO byte comparisons against fixtures generated with integration commit 309ad4d for single- and double-sided pocket tapers, three- and four-arm junctions, and a zebra junction. Ordinary junctions also assert empty map-object rules.

@yumin278
yumin278 marked this pull request as ready for review November 16, 2026 01:02
@yumin278
yumin278 merged commit 6a25b3e into integration Nov 16, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant